package com.zdya.combatdocuments.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.java_websocket.WebSocket;

import java.io.Serializable;

@Data
public class Node implements Serializable {

    public Node(){
    }

    public Node(String ip,WebSocket webSocket){
        this.ip = ip;
        this.webSocket = webSocket;
    }

//    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "节点ip地址")
    public String ip;


    @ApiModelProperty(value = "节点对应websocket地址")
    public WebSocket webSocket;




}
